package com.wl.common.system.support.dto;


import com.wl.common.core.web.dto.AbstractBaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author: wanglin
 * @date: 2023-10-18 周三
 * @Version: 1.0
 * @Description:
 */
@Data
public class UserProfileDTO extends AbstractBaseDTO {
    @NotBlank(message = "姓名不能为空")
    @Size(max = 20, message = "姓名长度不能超过20个字符")
    @Schema(description = "姓名")
    private String name;
}
